import request from '@/utils/request'

// 律师列表列表
export function lawyerLists(params?: Record<string, any>) {
    return request.get({ url: '/lawyer/list', params })
}

// 律师列表详情
export function lawyerDetail(params: Record<string, any>) {
    return request.get({ url: '/lawyer/detail', params })
}

// 律师列表新增
export function lawyerAdd(params: Record<string, any>) {
    return request.post({ url: '/lawyer/add', params })
}

// 律师列表编辑
export function lawyerEdit(params: Record<string, any>) {
    return request.post({ url: '/lawyer/edit', params })
}

// 律师列表编辑审核状态
export function lawyerEditState(params: Record<string, any>) {
    return request.post({ url: '/lawyer/editStatus', params })
}

// 律师列表删除
export function lawyerDelete(params: Record<string, any>) {
    return request.post({ url: '/lawyer/del', params })
}

// 获取调解员
export function allBusiness(params?: any) {
    return request.get({ url: '/business/all/business', params })
}
